package com.ytjj.common.enums;

import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description 版块管理
 * @ClassName ForumEnum
 *
 *
 * @Version 1.0
 **/
@Getter
public enum ForumEnum {

    SECKILL("9.9生活馆区"),


    CASH_SCORE("兑换积分"),


    NEW_RECOMMEND("新品推荐"),


    OLD_FOR_NEW("以旧换新"),


    BRAND_SHOP("品牌闪购"),


    ZERO_EVALUATION("0元测评")
    ;

    /**
     * 版块名称
     */
    private String forumName;


    ForumEnum(String forumName) {
        this.forumName = forumName;
    }


    /**
     * @Description 获取版块名称
     *
     *
     *
     * @Version 1.0
     **/
    public static List<String> getForumName() {
        ForumEnum[] values = ForumEnum.values();
        List<String> forumNames = new ArrayList<>();
        for (ForumEnum value : values) {
            forumNames.add(value.name());
        }
        return forumNames;
    }
}
